/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
// Code generated from Age.g4 by ANTLR 4.9.2. DO NOT EDIT.

package parser

import (
	"fmt"
	"unicode"

	"github.com/antlr/antlr4/runtime/Go/antlr"
)

// Suppress unused import error
var _ = fmt.Printf
var _ = unicode.IsLetter

var serializedLexerAtn = []uint16{
	3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 19, 212,
	8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7,
	9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12,
	4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4,
	18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23,
	9, 23, 4, 24, 9, 24, 3, 2, 3, 2, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3,
	6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3,
	8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10,
	3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3,
	11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 7, 12, 98, 10, 12, 12, 12, 14, 12,
	101, 11, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3,
	13, 3, 13, 3, 13, 5, 13, 114, 10, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 14,
	3, 15, 3, 15, 3, 15, 5, 15, 124, 10, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3,
	16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 19, 5, 19, 137, 10, 19, 3, 19,
	3, 19, 3, 19, 6, 19, 142, 10, 19, 13, 19, 14, 19, 143, 5, 19, 146, 10,
	19, 3, 19, 5, 19, 149, 10, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20,
	3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3,
	20, 3, 20, 3, 20, 3, 20, 5, 20, 171, 10, 20, 3, 21, 5, 21, 174, 10, 21,
	3, 21, 3, 21, 3, 21, 6, 21, 179, 10, 21, 13, 21, 14, 21, 180, 5, 21, 183,
	10, 21, 3, 21, 5, 21, 186, 10, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 7,
	22, 193, 10, 22, 12, 22, 14, 22, 196, 11, 22, 5, 22, 198, 10, 22, 3, 23,
	3, 23, 5, 23, 202, 10, 23, 3, 23, 3, 23, 3, 24, 6, 24, 207, 10, 24, 13,
	24, 14, 24, 208, 3, 24, 3, 24, 2, 2, 25, 3, 3, 5, 4, 7, 5, 9, 6, 11, 7,
	13, 8, 15, 9, 17, 10, 19, 11, 21, 12, 23, 13, 25, 14, 27, 15, 29, 2, 31,
	2, 33, 2, 35, 2, 37, 16, 39, 17, 41, 18, 43, 2, 45, 2, 47, 19, 3, 2, 10,
	10, 2, 36, 36, 49, 49, 94, 94, 100, 100, 104, 104, 112, 112, 116, 116,
	118, 118, 5, 2, 50, 59, 67, 72, 99, 104, 5, 2, 2, 33, 36, 36, 94, 94, 3,
	2, 50, 59, 3, 2, 51, 59, 4, 2, 71, 71, 103, 103, 4, 2, 45, 45, 47, 47,
	5, 2, 11, 12, 15, 15, 34, 34, 2, 223, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2,
	2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2,
	2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3,
	2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 37,
	3, 2, 2, 2, 2, 39, 3, 2, 2, 2, 2, 41, 3, 2, 2, 2, 2, 47, 3, 2, 2, 2, 3,
	49, 3, 2, 2, 2, 5, 51, 3, 2, 2, 2, 7, 53, 3, 2, 2, 2, 9, 55, 3, 2, 2, 2,
	11, 57, 3, 2, 2, 2, 13, 59, 3, 2, 2, 2, 15, 61, 3, 2, 2, 2, 17, 70, 3,
	2, 2, 2, 19, 77, 3, 2, 2, 2, 21, 84, 3, 2, 2, 2, 23, 94, 3, 2, 2, 2, 25,
	113, 3, 2, 2, 2, 27, 115, 3, 2, 2, 2, 29, 120, 3, 2, 2, 2, 31, 125, 3,
	2, 2, 2, 33, 131, 3, 2, 2, 2, 35, 133, 3, 2, 2, 2, 37, 136, 3, 2, 2, 2,
	39, 170, 3, 2, 2, 2, 41, 173, 3, 2, 2, 2, 43, 197, 3, 2, 2, 2, 45, 199,
	3, 2, 2, 2, 47, 206, 3, 2, 2, 2, 49, 50, 7, 93, 2, 2, 50, 4, 3, 2, 2, 2,
	51, 52, 7, 46, 2, 2, 52, 6, 3, 2, 2, 2, 53, 54, 7, 95, 2, 2, 54, 8, 3,
	2, 2, 2, 55, 56, 7, 125, 2, 2, 56, 10, 3, 2, 2, 2, 57, 58, 7, 127, 2, 2,
	58, 12, 3, 2, 2, 2, 59, 60, 7, 60, 2, 2, 60, 14, 3, 2, 2, 2, 61, 62, 7,
	60, 2, 2, 62, 63, 7, 60, 2, 2, 63, 64, 7, 120, 2, 2, 64, 65, 7, 103, 2,
	2, 65, 66, 7, 116, 2, 2, 66, 67, 7, 118, 2, 2, 67, 68, 7, 103, 2, 2, 68,
	69, 7, 122, 2, 2, 69, 16, 3, 2, 2, 2, 70, 71, 7, 60, 2, 2, 71, 72, 7, 60,
	2, 2, 72, 73, 7, 103, 2, 2, 73, 74, 7, 102, 2, 2, 74, 75, 7, 105, 2, 2,
	75, 76, 7, 103, 2, 2, 76, 18, 3, 2, 2, 2, 77, 78, 7, 60, 2, 2, 78, 79,
	7, 60, 2, 2, 79, 80, 7, 114, 2, 2, 80, 81, 7, 99, 2, 2, 81, 82, 7, 118,
	2, 2, 82, 83, 7, 106, 2, 2, 83, 20, 3, 2, 2, 2, 84, 85, 7, 60, 2, 2, 85,
	86, 7, 60, 2, 2, 86, 87, 7, 112, 2, 2, 87, 88, 7, 119, 2, 2, 88, 89, 7,
	111, 2, 2, 89, 90, 7, 103, 2, 2, 90, 91, 7, 116, 2, 2, 91, 92, 7, 107,
	2, 2, 92, 93, 7, 101, 2, 2, 93, 22, 3, 2, 2, 2, 94, 99, 7, 36, 2, 2, 95,
	98, 5, 29, 15, 2, 96, 98, 5, 35, 18, 2, 97, 95, 3, 2, 2, 2, 97, 96, 3,
	2, 2, 2, 98, 101, 3, 2, 2, 2, 99, 97, 3, 2, 2, 2, 99, 100, 3, 2, 2, 2,
	100, 102, 3, 2, 2, 2, 101, 99, 3, 2, 2, 2, 102, 103, 7, 36, 2, 2, 103,
	24, 3, 2, 2, 2, 104, 105, 7, 118, 2, 2, 105, 106, 7, 116, 2, 2, 106, 107,
	7, 119, 2, 2, 107, 114, 7, 103, 2, 2, 108, 109, 7, 104, 2, 2, 109, 110,
	7, 99, 2, 2, 110, 111, 7, 110, 2, 2, 111, 112, 7, 117, 2, 2, 112, 114,
	7, 103, 2, 2, 113, 104, 3, 2, 2, 2, 113, 108, 3, 2, 2, 2, 114, 26, 3, 2,
	2, 2, 115, 116, 7, 112, 2, 2, 116, 117, 7, 119, 2, 2, 117, 118, 7, 110,
	2, 2, 118, 119, 7, 110, 2, 2, 119, 28, 3, 2, 2, 2, 120, 123, 7, 94, 2,
	2, 121, 124, 9, 2, 2, 2, 122, 124, 5, 31, 16, 2, 123, 121, 3, 2, 2, 2,
	123, 122, 3, 2, 2, 2, 124, 30, 3, 2, 2, 2, 125, 126, 7, 119, 2, 2, 126,
	127, 5, 33, 17, 2, 127, 128, 5, 33, 17, 2, 128, 129, 5, 33, 17, 2, 129,
	130, 5, 33, 17, 2, 130, 32, 3, 2, 2, 2, 131, 132, 9, 3, 2, 2, 132, 34,
	3, 2, 2, 2, 133, 134, 10, 4, 2, 2, 134, 36, 3, 2, 2, 2, 135, 137, 7, 47,
	2, 2, 136, 135, 3, 2, 2, 2, 136, 137, 3, 2, 2, 2, 137, 138, 3, 2, 2, 2,
	138, 145, 5, 43, 22, 2, 139, 141, 7, 48, 2, 2, 140, 142, 9, 5, 2, 2, 141,
	140, 3, 2, 2, 2, 142, 143, 3, 2, 2, 2, 143, 141, 3, 2, 2, 2, 143, 144,
	3, 2, 2, 2, 144, 146, 3, 2, 2, 2, 145, 139, 3, 2, 2, 2, 145, 146, 3, 2,
	2, 2, 146, 148, 3, 2, 2, 2, 147, 149, 5, 45, 23, 2, 148, 147, 3, 2, 2,
	2, 148, 149, 3, 2, 2, 2, 149, 38, 3, 2, 2, 2, 150, 151, 7, 80, 2, 2, 151,
	152, 7, 99, 2, 2, 152, 171, 7, 80, 2, 2, 153, 154, 7, 47, 2, 2, 154, 155,
	7, 75, 2, 2, 155, 156, 7, 112, 2, 2, 156, 157, 7, 104, 2, 2, 157, 158,
	7, 107, 2, 2, 158, 159, 7, 112, 2, 2, 159, 160, 7, 107, 2, 2, 160, 161,
	7, 118, 2, 2, 161, 171, 7, 123, 2, 2, 162, 163, 7, 75, 2, 2, 163, 164,
	7, 112, 2, 2, 164, 165, 7, 104, 2, 2, 165, 166, 7, 107, 2, 2, 166, 167,
	7, 112, 2, 2, 167, 168, 7, 107, 2, 2, 168, 169, 7, 118, 2, 2, 169, 171,
	7, 123, 2, 2, 170, 150, 3, 2, 2, 2, 170, 153, 3, 2, 2, 2, 170, 162, 3,
	2, 2, 2, 171, 40, 3, 2, 2, 2, 172, 174, 7, 47, 2, 2, 173, 172, 3, 2, 2,
	2, 173, 174, 3, 2, 2, 2, 174, 175, 3, 2, 2, 2, 175, 182, 5, 43, 22, 2,
	176, 178, 7, 48, 2, 2, 177, 179, 9, 5, 2, 2, 178, 177, 3, 2, 2, 2, 179,
	180, 3, 2, 2, 2, 180, 178, 3, 2, 2, 2, 180, 181, 3, 2, 2, 2, 181, 183,
	3, 2, 2, 2, 182, 176, 3, 2, 2, 2, 182, 183, 3, 2, 2, 2, 183, 185, 3, 2,
	2, 2, 184, 186, 5, 45, 23, 2, 185, 184, 3, 2, 2, 2, 185, 186, 3, 2, 2,
	2, 186, 187, 3, 2, 2, 2, 187, 188, 5, 21, 11, 2, 188, 42, 3, 2, 2, 2, 189,
	198, 7, 50, 2, 2, 190, 194, 9, 6, 2, 2, 191, 193, 9, 5, 2, 2, 192, 191,
	3, 2, 2, 2, 193, 196, 3, 2, 2, 2, 194, 192, 3, 2, 2, 2, 194, 195, 3, 2,
	2, 2, 195, 198, 3, 2, 2, 2, 196, 194, 3, 2, 2, 2, 197, 189, 3, 2, 2, 2,
	197, 190, 3, 2, 2, 2, 198, 44, 3, 2, 2, 2, 199, 201, 9, 7, 2, 2, 200, 202,
	9, 8, 2, 2, 201, 200, 3, 2, 2, 2, 201, 202, 3, 2, 2, 2, 202, 203, 3, 2,
	2, 2, 203, 204, 5, 43, 22, 2, 204, 46, 3, 2, 2, 2, 205, 207, 9, 9, 2, 2,
	206, 205, 3, 2, 2, 2, 207, 208, 3, 2, 2, 2, 208, 206, 3, 2, 2, 2, 208,
	209, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 211, 8, 24, 2, 2, 211, 48,
	3, 2, 2, 2, 20, 2, 97, 99, 113, 123, 136, 143, 145, 148, 170, 173, 180,
	182, 185, 194, 197, 201, 208, 3, 8, 2, 2,
}

var lexerChannelNames = []string{
	"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
}

var lexerModeNames = []string{
	"DEFAULT_MODE",
}

var lexerLiteralNames = []string{
	"", "'['", "','", "']'", "'{'", "'}'", "':'", "'::vertex'", "'::edge'",
	"'::path'", "'::numeric'", "", "", "'null'",
}

var lexerSymbolicNames = []string{
	"", "", "", "", "", "", "", "KW_VERTEX", "KW_EDGE", "KW_PATH", "KW_NUMERIC",
	"STRING", "BOOL", "NULL", "NUMBER", "FLOAT_EXPR", "NUMERIC", "WS",
}

var lexerRuleNames = []string{
	"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "KW_VERTEX", "KW_EDGE",
	"KW_PATH", "KW_NUMERIC", "STRING", "BOOL", "NULL", "ESC", "UNICODE", "HEX",
	"SAFECODEPOINT", "NUMBER", "FLOAT_EXPR", "NUMERIC", "INT", "EXP", "WS",
}

type AgeLexer struct {
	*antlr.BaseLexer
	channelNames []string
	modeNames    []string
	// TODO: EOF string
}

// NewAgeLexer produces a new lexer instance for the optional input antlr.CharStream.
//
// The *AgeLexer instance produced may be reused by calling the SetInputStream method.
// The initial lexer configuration is expensive to construct, and the object is not thread-safe;
// however, if used within a Golang sync.Pool, the construction cost amortizes well and the
// objects can be used in a thread-safe manner.
func NewAgeLexer(input antlr.CharStream) *AgeLexer {
	l := new(AgeLexer)
	lexerDeserializer := antlr.NewATNDeserializer(nil)
	lexerAtn := lexerDeserializer.DeserializeFromUInt16(serializedLexerAtn)
	lexerDecisionToDFA := make([]*antlr.DFA, len(lexerAtn.DecisionToState))
	for index, ds := range lexerAtn.DecisionToState {
		lexerDecisionToDFA[index] = antlr.NewDFA(ds, index)
	}
	l.BaseLexer = antlr.NewBaseLexer(input)
	l.Interpreter = antlr.NewLexerATNSimulator(l, lexerAtn, lexerDecisionToDFA, antlr.NewPredictionContextCache())

	l.channelNames = lexerChannelNames
	l.modeNames = lexerModeNames
	l.RuleNames = lexerRuleNames
	l.LiteralNames = lexerLiteralNames
	l.SymbolicNames = lexerSymbolicNames
	l.GrammarFileName = "Age.g4"
	// TODO: l.EOF = antlr.TokenEOF

	return l
}

// AgeLexer tokens.
const (
	AgeLexerT__0       = 1
	AgeLexerT__1       = 2
	AgeLexerT__2       = 3
	AgeLexerT__3       = 4
	AgeLexerT__4       = 5
	AgeLexerT__5       = 6
	AgeLexerKW_VERTEX  = 7
	AgeLexerKW_EDGE    = 8
	AgeLexerKW_PATH    = 9
	AgeLexerKW_NUMERIC = 10
	AgeLexerSTRING     = 11
	AgeLexerBOOL       = 12
	AgeLexerNULL       = 13
	AgeLexerNUMBER     = 14
	AgeLexerFLOAT_EXPR = 15
	AgeLexerNUMERIC    = 16
	AgeLexerWS         = 17
)
